﻿<%@ WebHandler Language="C#" Class="GetData" %>

using System.Web;
using System.Web.SessionState;
using QuickORM.Common;

public class GetData : IHttpHandler, IRequiresSessionState
{
    public void ProcessRequest(HttpContext context)
    {
        context.Response.ContentType = "text/plain";
        context.Response.Write(Handler.GetData(LoginUser.Instance.RoleID));
    }

    public bool IsReusable
    {
        get { return false; }
    }
}